#ifndef ITEMSTRINGLIST_H
#define ITEMSTRINGLIST_H

#include "config/ConfigItem.h"

class ItemStringList : public ConfigItem {
    Q_OBJECT
public:

    QStringList get();
    void set(const QStringList &value);
protected:
    QWidget *createWidget(WidgetStyle s = WidgetStyle::Default) override;
    void update(QWidget *widget, UpdateOption option) override;
    void writeToData(QDataStream &stream) const override;
    void readFromData(QDataStream &stream) override;
private:
    QStringList m_data;
};

#endif // ITEMSTRINGLIST_H
